package tests;

import common.Coordinate;
import common.Tile;

import junit.framework.TestCase;

public class TileTest extends TestCase {
	
	Tile tile1, tile2,tile3;
	
	protected void setUp() { 
		tile1 = new Tile(new Coordinate(1,5));
		tile2 = new Tile(new Coordinate(4,1));
		tile3 = new Tile(new Coordinate(5352,5));
	}
	
	public void testToString() {
		assertEquals("B6" ,tile1.toString());
		assertEquals("E2",tile2.toString());
		assertEquals("",tile3.toString());
	}
}
